package com.synergy.stockflow.constant;

import lombok.Getter;

/**
 * HTTP 状态码常量类
 */
@Getter
public class HttpStatus {
    /**
     * 200 OK - 请求成功
     */
    public static final int OK = 200;

    /**
     * 400 Bad Request - 请求错误
     */
    public static final int BAD_REQUEST = 400;

    /**
     * 401 Unauthorized - 未授权
     */
    public static final int UNAUTHORIZED = 401;

    /**
     * 403 Forbidden - 拒绝访问
     */
    public static final int FORBIDDEN = 403;

    /**
     * 404 Not Found - 资源不存在
     */
    public static final int NOT_FOUND = 404;

    /**
     * 500 Internal Server Error - 服务器内部错误
     */
    public static final int INTERNAL_SERVER_ERROR = 500;
}
